package server.layer;

import java.sql.SQLException;
import java.util.ArrayList;

/**
 * Created by IntelliJ IDEA.
 * User: Awake
 * Date: 24.02.12
 * Time: 13:45
 * To change this template use File | Settings | File Templates.
 */
public interface iPersonDAO {

    public void addPerson(Person person) throws SQLException;

    public void updatePerson(Long person_id, Person bus) throws SQLException;

    public Person getPersonById(Long bus_id) throws SQLException;

    public void getAllPersons(ArrayList<Person> persons) throws SQLException;

    public void deletePerson(Person bus) throws SQLException;
}
